Engduino Lights Tutorial - Basics
This tutorial will teach you the basics of communicating with your Engduino.
First, make sure you're in "coder" or "expert" skill level.
This option is on the "learn" part of the touchdevelop
homepage. Then, you want to click "Create Script" in the
"my scripts" section, and type "blank engduino". Select
the option shown in the picture below.
Then, the first thing you'll see is
an action called "main". This is
where the loop is called, inside
a while loop with condition
"true". This means the loop will
keep running continuously,
repeating your commands over
and over again.
Now, you want to go the "loop" action, so click on
then click
The first thing you'll see is this code. This is
example code, showing how you set your
Engduino's LEDs to turn on and turn off
repeatedly, with random colours chosen
each time.
Go ahead and try it out by pressing then the
button.
(Make sure the Engduino is plugged in to your computer and turned on!)
For this tutorial, keep the example code. In future tutorials, follow the above steps as usual and
delete the 4 lines of example code, before following the steps I will give you afterwards.